﻿/// ZaxControls
/// Programmed by Leland Ede
/// Website: http://www.zaxisstudios.com
/// E-Mail: codeplex@zaxis-studios.com
/// Create: 3/30/2014
/// Modified: 4/02/2014

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace ZaxLib.Web.UI.WebControls
{
	public class ControlManager
	{
		#region Singleton Pattern

		private ControlManager()
		{

		}

		private static ControlManager _instance = null;
		public static ControlManager Instance
		{
			get
			{
				if (_instance == null) _instance = new ControlManager();

				return _instance;
			}
		}

		#endregion

		#region Initialization Methods

		public void Init(ZScriptManager scManager)
		{
			ScriptManager = scManager;
		}

		#endregion

		#region Class Parameters

		private ZScriptManager _scManager = null;
		public ZScriptManager ScriptManager
		{
			get
			{
				return _scManager;
			}
			set
			{
				_scManager = value;
			}
		}

		#endregion
	}
}
